package com.qf.dao;

import com.qf.entitys.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);

    List<User> selectAll(User record);

    User loginPhone(String phone);

    User loginpwd(String loginName, String loginPwd);

    int updateUserbirthday(@Param("loginname")String loginname , @Param("day")String day);
}